package com.junzerg.tooltip.component;

import com.junzerg.tooltip.entity.dao.ConvDao;
import com.junzerg.tooltip.service.IAmapService;
import com.junzerg.tooltip.service.IConvService;
import com.junzerg.tooltip.service.IPoiService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author pengjz <br>
 * @version 1.0 <br>
 * @description PoiComponent <br>
 * @date 2022/4/11 12:06 <br>
 */
@Component
public class PoiComponent {

    @Resource
    private IAmapService amapService;

    @Resource
    private IConvService convService;

    @Resource
    private IPoiService poiService;

    public void getAmapPoi() {
        poiService.amapCralwer();
    }
}
